<div id="shoplist" style="list-style:none;">
    <!--{loop $result $val}-->
    <li>
        <a href="Javascript:insertshop('$val[sid]','{$val[shopname]}{$val[subname]}');">
        {$val[shopname]}{$val[subname]}($val[address])</a>
    </li>
    <!--{/loop}-->
</div>